package cn.mandifal.mapper;

import cn.mandifal.pojo.DpAdmin;
import cn.mandifal.pojo.DpAdminExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DpAdminMapper {

    int countByExample(DpAdminExample example);

    int deleteByExample(DpAdminExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DpAdmin record);

    int insertSelective(DpAdmin record);

    List<DpAdmin> selectByExample(DpAdminExample example);

    DpAdmin selectByPrimaryKey(Integer id);

    DpAdmin selectByUsername(String username);

    int updateByExampleSelective(@Param("record") DpAdmin record, @Param("example") DpAdminExample example);

    int updateByExample(@Param("record") DpAdmin record, @Param("example") DpAdminExample example);

    int updateByPrimaryKeySelective(DpAdmin record);

    int updateByPrimaryKey(DpAdmin record);
}